--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 853d85e394ca4a9217ddccf5cedef7274b331a66
Parents : 96b509c
Author : Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-04-19T13:19:23-05:00
fix(ci): install libopus and libogg on Linux runners to prevent Opus encode test failures
Changes
Diff
diff --git a/scripts/ci/github-install-deps.sh b/scripts/ci/github-install-deps.sh
index e351914e..599eed98 100755
--- a/scripts/ci/github-install-deps.sh
+++ b/scripts/ci/github-install-deps.sh
@@ -26,5 +26,13 @@ if [[ "$(uname -s)" == "Darwin" ]]; then
fi
fi
+# LXST/pyogg loads libopus (and libogg for Ogg muxing) at runtime. GitHub-hosted
+# Linux runners do not ship these by default, so backend Opus encode tests fail
+# with PyOggError until the shared libraries are present.
+if [[ "$(uname -s)" == "Linux" ]] && command -v apt-get >/dev/null 2>&1; then
+ sudo apt-get update -y
+ sudo apt-get install -y libopus0 libogg0
+fi
+
python -m poetry install --no-interaction --no-ansi
pnpm install --frozen-lockfile
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────